(erc-scroll-to-bottom): Remove redundant check.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Jun 2007 00:14:07 +0000 (00:14 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 14 Jun 2007 00:14:07 +0000 (00:14 +0000)
lisp/erc/erc-goodies.el

index 933e6b34b5289290049c30273f1181179a0ed4f5..6820f91628ab21708536b6b265e481a788aa61a7 100644 (file)
@@ -77,7 +77,7 @@ You can control which line is recentered to by customizing the
 variable `erc-input-line-position'.
 
 DISPLAY-START is ignored."
-  (if (and window (window-live-p window))
+  (if (window-live-p window)
       ;; Temporarily bind resize-mini-windows to nil so that users who have it
       ;; set to a non-nil value will not suffer from premature minibuffer
       ;; shrinkage due to the below recenter call.  I have no idea why this